import request from '@/utils/request'

// 查询申请表类型管理列表
export function listSubscribepattern(query) {
  return request({
    url: '/module/subscribepattern/list',
    method: 'get',
    params: query
  })
}

// 查询申请表类型管理详细
export function getSubscribepattern(id) {
  return request({
    url: '/module/subscribepattern/' + id,
    method: 'get'
  })
}

// 新增申请表类型管理
export function addSubscribepattern(data) {
  return request({
    url: '/module/subscribepattern',
    method: 'post',
    data: data
  })
}

// 修改申请表类型管理
export function updateSubscribepattern(data) {
  return request({
    url: '/module/subscribepattern',
    method: 'put',
    data: data
  })
}

// 删除申请表类型管理
export function delSubscribepattern(id) {
  return request({
    url: '/module/subscribepattern/' + id,
    method: 'delete'
  })
}
